const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roleName: state => state.user.roleName,
  menuIds: state => state.user.menuIds,
  uploadHeaders: state => state.user.uploadHeaders,
  imId: state => state.user.imId,
  imToken: state => state.user.imToken,
}
export default getters
